package com;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@SpringBootApplication
@EnableEurekaClient
public class SpringcloudClientDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudClientDemoApplication.class, args);
    }

    @Value("${server.port}")
    String port;

   /* @RequestMapping("/hi")
    public String home(@RequestParam(value = "name",defaultValue = "forezp") String name){
        return "hi" + name + ", i am from port:" + port;
    }
*/
}
